const express = require("express");
const multer = require('multer')
const path = require("path")
const uploads = multer({dast:path.join(__dirname,'../uploads')})
const userinfo_handler =require("../router_handler/userinfo")
const router = express.Router();
router.get("/userinfo", userinfo_handler.getUserInfo);
router.post('/answer',uploads.single('answer'), userinfo_handler.answer);
router.post('/inspect', userinfo_handler.inspect);
router.post('/get_student_answer', userinfo_handler.get_student_answer);
module.exports = router;